﻿using System.Collections.Generic;
using Model;

namespace IDAL
{
    /// <summary>
    /// 下载历史接口定义
    /// </summary>
    public interface IDownloadHistoryDAL
    {
        //保存下载历史
        void saveDownloadHistory(DownloadHistory downloadHistory);
        //查看下载历史
        IList<DownloadHistory> getDownloadHistory(User user);
        //查看下载历史
        IList<DownloadHistory> getDownloadHistory(Resource resource);
        //查看下载历史
        DownloadHistory getDownloadHistory(User user, Resource resource);
        //查看下载历史
        DownloadHistory getDownloadHistory(int downloadHistoryId);
    }
}
